<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>销售发货清单</title>
<link href="__PUBLIC__/admin/css/xc.min.css" rel="stylesheet" type="text/css" />
<link href="__PUBLIC__/admin/css/xc.admin.css" rel="stylesheet" type="text/css" />
<link href="__PUBLIC__/lib/iconfont/iconfont.css" rel="stylesheet" type="text/css" />
<style type="text/css">
.xc_print_head{ overflow:hidden;zoom:1;}
.xc_logo{ width:30%; float:left}
.xc_title{ text-align:center; font-size:36px; width:100%; float:left;}
.xc_code{ width:30%; float:left}
.pd-20{ width:80%; margin:0 auto}
</style>
<style media="print" type="text/css">
.noprint{display:none}
.pd-20{ padding:0; width:100%; margin:0 auto}
</style>
</head>
<body>
<div class="pd-20">
  <div class="mt-1">
    <div class="xc_print_head">
      <!--<div class="xc_logo"><img src="__PUBLIC__/Uploads/{$logoImgUrl|default='img/logo.png'}" height="90px"></div>-->
      <div class="xc_title">销售发货清单</div>
    </div>
    <table class="table table-border table-bordered table-hover table-bg table-sor">
      <thead>
        <tr><td colspan="7" style="background-color:#ddd"><b>基本信息</b></td></tr>
        <tr class="text-c">
          <th width="80">订单号</th><td>{$ores.or_batch}</td>
          <th width="80">下单时间</th><td>{$ores.or_xtime|date='Y-m-d H:i',###}</td>
          <th width="80">配送方式</th><td>{$ores[expre][ename]}</td>
        </tr>
        <tr class="text-c">
          <th width="80">收件人</th><td>{$ores[addre][aname]}</td>
          <th width="80">联系电话</th><td>{$ores[addre][phone]}</td>
          <th width="80">配送地址</th><td>{$ores[addre][addre]}</td>
        </tr>
        <if condition="($ores[or_note] neq '')">
        <tr class="text-c">
          <th width="80">买家备注</th><td colspan="5" style="text-align:left">{$ores.or_note}</td>
        </tr>
        </if>
      </thead>
	</table>
    <table class="table table-border table-bordered table-hover table-bg table-sort mt-10">
      <thead>
        <tr class="text-c">
          <th width="40">编号</th>
          <th width="300">商品信息</th>
          <th width="80">零售价(元)</th>
          <th width="80">批发价(元)</th>
          <th width="80">运费</th>
          <th width="60">数量</th>
          <th width="120">实付款(元)</th>
        </tr>
      </thead>
      <volist name='goList' id='gvo'>
      <tr class="text-c">
        <td>{$i}</td>
        <td>{$gvo.de_gname}</td>
        <td><if condition="$gvo['de_gprice'] gt 0">{$gvo.de_gprice}+</if><if condition="$gvo['de_jmoney'] gt 0">{$gvo.de_jmoney}积分</if></td>
        <td><if condition="$gvo['de_gmoney'] gt 0">{$gvo.de_gmoney}+</if><if condition="$gvo['de_jmoney'] gt 0">{$gvo.de_jmoney}积分</if></td>
        <td>{$gvo.de_ymoney}</td>
        <td>{$gvo.de_gnum}</td>
        <td><eq name='ores.or_pname' value='1'>免费商品<else />￥{$gvo[de_gmoney]*$gvo[de_gnum]}<if condition="($gvo[de_jmoney] gt 0)">+{$gvo[de_jmoney]*$gvo[de_gnum]}积分</if></eq></td>
      </tr>
      </volist>
      <tr class="text-c">
        <td colspan="7" style="text-align:right">
          <!--原价总和：{$ores.or_gprice}，优惠{$gvo[de_gnum]*($gvo[de_gprice]-$gvo[de_gmoney])|round=2}元，-->
          费用总计：<b>￥{$ores[or_zmon]}<if condition="($ores[or_jmon] gt 0)">+{$ores[or_jmon]}积分</if></b></td>
      </tr>
	</table>
    <div class="pd-20">
      <div class="row cl">
        <label class="form-label col-8"></label>
        <div class="formControls col-2"><input class="btn btn-primary radius noprint" type="submit" onclick="window.print();" value="打印"></div>
      </div>
    </div>
  </div>
</div>
</body>
</html>